HAL I3C state and error functions migration

This section provides information about the HAL I3C state and error functions migration.

HAL I3C get state

HAL1

HAL2

HAL_I3C_GetState(const I3C_HandleTypeDef *hi3c)
HAL_I3C_GetState(const hal_i3c_handle_t *hi3c)

Related concept: Revised and optimized HAL state machine


HAL I3C get error

HAL1

HAL2

HAL_I3C_GetError(const I3C_HandleTypeDef *hi3c)
HAL_I3C_GetLastErrorCodes(const hal_i3c_handle_t *hi3c)

Related concept: Revised and optimized HAL error management